Skip to content

Commit f9c2bb8

Browse files
authored
Bump PHP min version to 7.3 (#520)
1 parent 0fb5cef commit f9c2bb8

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ return PhpCsFixer\Config::create()
7777
'sortAlgorithm' => 'alpha',
7878
],
7979
'phpdoc_order' => true,
80+
'single_line_throw' => false,
8081
'strict_comparison' => true,
8182
'strict_param' => true,
8283
'ternary_to_null_coalescing' => true,

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: php
22

33
php:
4-
- '7.2'
4+
- '7.3'
5+
- '7.4'
56
- nightly
67

78
branches:
@@ -26,13 +27,13 @@ services:
2627
matrix:
2728
fast_finish: true
2829
include:
29-
- php: '7.2'
30+
- php: '7.3'
3031
env:
3132
- COMPOSER_FLAGS="--prefer-lowest"
32-
- SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
33-
- php: '7.2'
33+
- SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
34+
- php: '7.3'
3435
env: SYMFONY_REQUIRE="~3.4.0"
35-
- php: '7.2'
36+
- php: '7.3'
3637
env:
3738
- COVERAGE="true"
3839
- PHPUNIT_FLAGS="--stop-on-failure --verbose --coverage-text --coverage-clover=coverage.xml"
@@ -59,7 +60,7 @@ before_install:
5960
PHPUNIT_BIN="php -d zend.enable_gc=0 $PHPUNIT_BIN"
6061
fi
6162
- mysql -u root -e 'create database hautelook_alice_bundle;'
62-
- if [[ $LINT = "1" ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.12.1/php-cs-fixer.phar; fi
63+
- if [[ $LINT = "1" ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.16.4/php-cs-fixer.phar; fi
6364

6465
install:
6566
- composer update --prefer-dist $COMPOSER_FLAGS

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232

3333
"require": {
34-
"php": "^7.2",
34+
"php": "^7.3",
3535
"doctrine/doctrine-bundle": "^1.8 || ^2.0",
3636
"doctrine/data-fixtures": "^1.2",
3737
"doctrine/orm": "^2.5.11",
@@ -44,7 +44,7 @@
4444
"require-dev": {
4545
"phpunit/phpunit": "^8.5",
4646
"phpspec/prophecy": "^1.7",
47-
"symfony/phpunit-bridge": "^3.4.31 || ^4.0 || ^5.0"
47+
"symfony/phpunit-bridge": "^5.1"
4848
},
4949

5050
"extra": {

src/DependencyInjection/HautelookAliceExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public function load(array $configs, ContainerBuilder $container)
6060
/**
6161
* Loads alice configuration and add the configuration values to the application parameters.
6262
*
63-
*
6463
* @throws \InvalidArgumentException
6564
* @throws \Exception
6665
*/

src/LoaderInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ interface LoaderInterface
2121
* Accept the option nonetheless to ease the upgrade but add a deprecation notice
2222
* to say this option is no longer necessary and later will be removed.
2323
*
24-
*
2524
* Loads the specified fixtures of an application.
2625
*
2726
* @param Application $application Application the fixtures are loaded from

src/Locator/EnvDirectoryLocator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function (BundleInterface $bundle) use ($environment): array {
6565
/**
6666
* Gets the list of files that can be found in the given path.
6767
*
68-
*
6968
* @return string[]
7069
*/
7170
private function doLocateFiles(string $path, string $environment): array

0 commit comments

Comments
 (0)