Skip to content

Commit

Permalink
Opt-out from deprecations about future return types
Browse files Browse the repository at this point in the history
Adding actual return types might be a BC break for child classes, but
must be done before supporting Symfony 6
  • Loading branch information
stof committed Oct 14, 2021
1 parent 3719a56 commit 2206c78
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
name: "Tests on PHP ${{ matrix.php }}${{ matrix.name_suffix }}"
runs-on: ubuntu-latest

env:
SYMFONY_DEPRECATIONS_HELPER: 'max[direct]=0' # TODO remove that once upgrading dev-deps job to run on PHPUnit 9.5 on PHP 8

strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions Command/CloudCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ abstract protected function doExecuteCommand(InputInterface $input, OutputInterf

/**
* {@inheritDoc}
*
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
2 changes: 2 additions & 0 deletions Command/ModifyCloudCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ protected function configure()

/**
* {@inheritDoc}
*
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
*
* @return TreeBuilder
*/
public function getConfigTreeBuilder()
{
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/XabbuhPandaExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ private function loadClouds(array $clouds, ContainerBuilder $container, array $k

/**
* {@inheritDoc}
*
* @return string
*/
public function getNamespace()
{
Expand Down

0 comments on commit 2206c78

Please sign in to comment.