Skip to content

allow inline/eval script if debug mode is turned on #1717

allow inline/eval script if debug mode is turned on

allow inline/eval script if debug mode is turned on #1717

Triggered via pull request November 9, 2023 09:32
Status Success
Total duration 4m 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: static-phpstan-analysis
Fit to window
Zoom out
Zoom in

Annotations

15 errors
phpstan: Nextcloud stable27 with 8.1: lib/Controller/PageController.php#L106
Only booleans are allowed in an if condition, mixed given.
phpstan: Nextcloud stable27 with 8.1: lib/Controller/PageController.php#L107
Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used
phpstan: Nextcloud stable27 with 8.1: lib/Controller/PageController.php#L108
Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
phpstan: Nextcloud stable27 with 8.1
Process completed with exit code 2.
phpstan: Nextcloud stable27 with 8.0: lib/Controller/PageController.php#L106
Only booleans are allowed in an if condition, mixed given.
phpstan: Nextcloud stable27 with 8.0: lib/Controller/PageController.php#L107
Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used
phpstan: Nextcloud stable27 with 8.0: lib/Controller/PageController.php#L108
Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
phpstan: Nextcloud stable27 with 8.0
Process completed with exit code 2.
phpstan: Nextcloud pre-release with 8.2: lib/Controller/PageController.php#L106
Only booleans are allowed in an if condition, mixed given.
phpstan: Nextcloud pre-release with 8.2: lib/Controller/PageController.php#L108
Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
phpstan: Nextcloud pre-release with 8.2
Process completed with exit code 2.
phpstan: Nextcloud stable27 with 8.2: lib/Controller/PageController.php#L106
Only booleans are allowed in an if condition, mixed given.
phpstan: Nextcloud stable27 with 8.2: lib/Controller/PageController.php#L107
Call to deprecated method allowInlineScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: 10.0 CSP tokens are now used
phpstan: Nextcloud stable27 with 8.2: lib/Controller/PageController.php#L108
Call to deprecated method allowEvalScript() of class OCP\AppFramework\Http\EmptyContentSecurityPolicy: Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
phpstan: Nextcloud stable27 with 8.2
Process completed with exit code 2.