Skip to content

ci: fix ci #27

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

Merged
merged 5 commits into from
Apr 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@ jobs:
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/supported-version@main
id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }}
@@ -37,7 +36,9 @@ jobs:
matrix: ${{ fromJSON(needs.compute_matrix.outputs.matrix) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: graycoreio/github-actions-magento2/installation-test@main
with:
composer_version: ${{ matrix.composer }}
1 change: 0 additions & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@ jobs:
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: graycoreio/github-actions-magento2/supported-version@main
id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }}
4 changes: 3 additions & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
@@ -32,7 +32,9 @@ jobs:
- 8.4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: graycoreio/github-actions-magento2/unit-test@main
with:
php_version: ${{ matrix.php_version }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
node_modules/
node_modules/
composer.lock
16 changes: 8 additions & 8 deletions Handler/Stdout.php
Original file line number Diff line number Diff line change
@@ -17,14 +17,6 @@ class Stdout extends StreamHandler
*/
private $deploymentConfig;

/**
* Log stack bubbling
* See: https://github.com/Seldaek/monolog
*
* We disable bubbling as this logger should be the only logger.
*/
protected $bubble = false;

/**
* @var int
*/
@@ -36,6 +28,14 @@ class Stdout extends StreamHandler
*/
public function __construct(DeploymentConfig $deploymentConfig)
{
/**
* Log stack bubbling
* See: https://github.com/Seldaek/monolog
*
* We disable bubbling as this logger should be the only logger.
*/
$this->bubble = false;

$this->deploymentConfig = $deploymentConfig;

if ($this->deploymentConfig->isAvailable() && $this->isDebugLoggingEnabled()) {
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@
"require": {
"magento/framework": "^102.0 || ^103.0",
"magento/module-developer": "^100.3.3",
"monolog/monolog": "^1 || ^2"
"monolog/monolog": "^1 || ^2 || ^3"
},
"require-dev": {
"magento/magento-coding-standard": ">=6",
@@ -56,7 +56,8 @@
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"magento/composer-dependency-version-audit-plugin": false
"magento/composer-dependency-version-audit-plugin": false,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}