Skip to content

Commit

Permalink
Merge pull request #23 from tpatartmajeur/php-82
Browse files Browse the repository at this point in the history
Allow php 8.2
  • Loading branch information
jbouzekri committed Dec 29, 2022
2 parents 06481ad + 808d1bc commit 3dad681
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- { php-version: 7.4, symfony-locked-version: 4.4.*, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: 5.4.*, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.2, symfony-locked-version: 5.4.*, dependency-version: prefer-stable }
name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }})
steps:
- uses: shivammathur/setup-php@v2
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/jbouzekri/PhumborBundle",
"license": "MIT",
"require": {
"php": "^7.2|8.0.*|8.1.*",
"php": "^7.2|8.0.*|8.1.*|8.2.*",
"symfony/config": "^3.4|^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^3.4|^4.4|^5.0|^6.0",
"symfony/http-kernel": "^3.4|^4.4|^5.0|^6.0",
Expand All @@ -16,7 +16,6 @@
"require-dev": {
"phpunit/phpunit": "^8.5.26|^9.5.20",
"symfony/yaml": "^3.4|^4.4|^5.0|^6.0",
"twig/extensions": "~1.0",
"symfony/phpunit-bridge": ">=6.0"
},
"autoload": {
Expand Down
37 changes: 14 additions & 23 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="TestBundle Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="TestBundle Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>

0 comments on commit 3dad681

Please sign in to comment.