Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP 8.3 support #7479

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

kpicaza
Copy link
Contributor

@kpicaza kpicaza commented May 22, 2024

Hi waghanza,

I just updated Antidot framework dependencies to work with PHP 8.3. Sorry for the delay, but I hadn't realized it wasn't working.

Thank you very much for your excellent work.

@kpicaza kpicaza requested a review from waghanza as a code owner May 22, 2024 19:08
@@ -1,5 +1,5 @@
language:
version: 8.2
version: 8.3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version: 8.3

Default is 8.3

Copy link
Collaborator

@waghanza waghanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same error @kpicaza

root@37829aeaa563:/usr/src/app# bin/console serve
php public/index.php 1
php public/index.php 2
php public/index.php 3
php public/index.php 4
php public/index.php 5
php public/index.php 6
php public/index.php 7
php public/index.php 8

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16
Process exited with code 255
Process exited with code 255

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16

Warning: require_once(vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /usr/src/app/public/index.php on line 16

Fatal error: Uncaught Error: Failed opening required 'vendor/autoload_runtime.php' (include_path='.:/usr/local/lib/php') in /usr/src/app/public/index.php:16
Stack trace:
#0 {main}
  thrown in /usr/src/app/public/index.php on line 16
Process exited with code 255
Process exited with code 255
Process exited with code 255
Process exited with code 255
Process exited with code 255
Process exited with code 255

@kpicaza
Copy link
Contributor Author

kpicaza commented May 22, 2024

Looks related to this composer issue composer/composer#11839 It will work by adding COMPOSER_ALLOW_SUPERUSER=1 env var as suggested by Seldaek for bitbucket pipelines(Already tested locally):

language:
  engines:
    reactphp:
      environment:
        COMPOSER_ALLOW_SUPERUSER: 1

@kpicaza kpicaza requested a review from waghanza May 22, 2024 20:47
@waghanza waghanza merged commit a7a2f1c into the-benchmarker:master May 23, 2024
2 checks passed
@kpicaza kpicaza deleted the php_antidot_83 branch May 23, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants