Skip to content

Commit

Permalink
Merge pull request #54 from cmen/sf7
Browse files Browse the repository at this point in the history
Symfony 7 support
  • Loading branch information
cmen committed Jan 8, 2024
2 parents 81d844e + 34f0e59 commit 5f576b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['7.4', '8.0', '8.1', '8.2']

runs-on: ${{ matrix.operating-system }}

Expand Down
5 changes: 1 addition & 4 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@

class Configuration implements ConfigurationInterface
{
/**
* @return TreeBuilder
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('cmen_google_charts');

Expand Down
3 changes: 0 additions & 3 deletions Tests/Output/Javascript/ChartOutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class ChartOutputTest extends TestCase
/** @var ChartOutputInterface */
private $chartOutput;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
$optionsOutput = $this->createMock(OptionsOutputInterface::class);
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0",
"twig/twig": "^1.43 | ^2.13 | ^3.0.4"
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"twig/twig": "^2.13 | ^3.0.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
Expand Down

0 comments on commit 5f576b6

Please sign in to comment.