-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use native union types * Use PHP 8 for PHP workflow * Update CI configuration * Remove old tests * update release workflow * feat!: Require Symfony 6 / PHP 8.1 * Test in Symfony 6 & 7 * Fix to php -v * Testing lock GitHub action to Symfony 6/7 * Exclude PHP 8.1 & Symfony 7 * test
- Loading branch information
1 parent
143b782
commit c6a7430
Showing
30 changed files
with
93 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: release-please | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
# Uses https://github.com/marketplace/actions/release-please-action | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: googleapis/release-please-action@v4 | ||
with: | ||
release-type: php | ||
package-name: strata/frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,71 +6,49 @@ | |
"authors": [ | ||
{ | ||
"name": "Simon Jones", | ||
"email": "[email protected]", | ||
"homepage": "https://studio24.net/", | ||
"role": "Lead Developer" | ||
}, | ||
{ | ||
"name": "Matt Buckland", | ||
"homepage": "https://studio24.net/", | ||
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Marie Manandise", | ||
"homepage": "https://studio24.net/", | ||
"role": "Developer" | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4|^8.0", | ||
"friendsofsymfony/http-cache": "^2.12", | ||
"psr/simple-cache": "^1.0", | ||
"masterminds/html5": "2.*", | ||
"monolog/monolog": "^2.0", | ||
"strata/data": "^0.8", | ||
"symfony/http-foundation": "^5.4|^6.0", | ||
"symfony/yaml": "^5.4|^6.0", | ||
"toflar/psr6-symfony-http-cache-store": "^3.0" | ||
"php": "^8.1", | ||
"friendsofsymfony/http-cache": "^3.0", | ||
"psr/simple-cache": "^3.0", | ||
"masterminds/html5": "^2.9", | ||
"strata/data": "dev-feature/php8", | ||
"symfony/http-foundation": "^6.4|^7.1", | ||
"symfony/yaml": "^6.4|^7.1", | ||
"toflar/psr6-symfony-http-cache-store": "^4.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Strata\\Frontend\\": "src/" | ||
} | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"phpstan/phpstan": "^1.0", | ||
"overtrue/phplint": "^3.0", | ||
"phpunit/phpunit": "10.5", | ||
"squizlabs/php_codesniffer": "^3.10", | ||
"phpstan/phpstan": "^1.11", | ||
"roave/security-advisories": "dev-latest", | ||
"nyholm/psr7": "^1.5" | ||
}, | ||
"scripts": { | ||
"lint": [ | ||
"./vendor/bin/phplint" | ||
], | ||
"cs": [ | ||
"phpcs": [ | ||
"./vendor/bin/phpcs" | ||
], | ||
"fix": [ | ||
"phpcbf": [ | ||
"./vendor/bin/phpcbf" | ||
], | ||
"unit": [ | ||
"phpunit": [ | ||
"./vendor/bin/phpunit" | ||
], | ||
"phpstan": [ | ||
"./vendor/bin/phpstan analyse --memory-limit 512M" | ||
], | ||
"test": [ | ||
"composer lint", | ||
"composer cs", | ||
"composer unit" | ||
"composer phpcs", | ||
"composer phpunit" | ||
] | ||
}, | ||
"scripts-descriptions": { | ||
"lint": "Lint PHP files", | ||
"cs": "Test coding standards are met in PHP code", | ||
"fix": "Fix PHP code so it meets coding standards", | ||
"unit": "Run PHPUnit tests", | ||
"test": "Run all tests (phplint, phpcs, phpunit)" | ||
}, | ||
"config": { | ||
"allow-plugins": false | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://phpunit.readthedocs.io/en/8.0/configuration.html --> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true"> | ||
<coverage> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</coverage> | ||
<php> | ||
<ini name="error_reporting" value="-1"/> | ||
<ini name="display_errors" value="1"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="Test Suite"> | ||
<directory>tests</directory> | ||
<exclude> | ||
<directory>tests/Content</directory> | ||
</exclude> | ||
</testsuite> | ||
</testsuites> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" colors="true"> | ||
<php> | ||
<ini name="error_reporting" value="-1"/> | ||
<ini name="display_errors" value="1"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="Strata Frontend Test Suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</source> | ||
</phpunit> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.