Skip to content

Commit

Permalink
Bump required PHP version to 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
folbert committed Feb 18, 2020
1 parent eb027af commit a4cbc65
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: php
php:
- '7.1'
- '7.2'
- '7.3'
install: composer update
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"issues": "https://github.com/folbert/fewbricks/issues"
},
"require": {
"php": ">=7.1",
"php": ">=7.2",
"folbert/acf-fewbricks-hidden": "1.2",
"yahnis-elsts/plugin-update-checker": "4.9"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permalink: /requirements/

# Requirements

- PHP 7.1+. But we highly recommend 7.2+ since 7.1 [has reached its EOL](https://www.php.net/supported-versions.php).
- PHP 7.2+.

- [Advanced Custom Fields PRO 5](https://www.advancedcustomfields.com)

Expand Down
2 changes: 1 addition & 1 deletion src/ACF/FieldCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct(string $key, array $arguments = [])
* @param Brick $brick
* @return $this
*/
public function add_brick($brick)
public function add_brick(Brick $brick)
{

$this->prepare_brick_for_add($brick);
Expand Down

0 comments on commit a4cbc65

Please sign in to comment.