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

✨ merge every dependency in the mono repo #83

Merged
merged 119 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
18ff8c1
[TASK] initial commit
Kanti Jul 21, 2016
b846136
[FEATURE] added all inital files
Kanti Jul 21, 2016
d6d59f4
[CLEANUP] add PHPDoc blocks to all Classes and Functions
Kanti Jul 22, 2016
fd18083
[BUGFIX] fix chdir to get RealPath from file
Kanti Jul 22, 2016
e09196f
[CLEANUP] update own grumphp config and add some links to composer.json
Kanti Jul 26, 2016
2b2d566
[CLEANUP] rename Namespace to AUS\GrumPHPBomTask
Kanti Jul 29, 2016
e8bf6a7
[FEATURE] add Documentation
Kanti Aug 2, 2016
eb43b06
[FEATURE] Now with tests
Kanti Aug 4, 2016
d0695e9
[FEATURE] use grumphp to test on travis
Kanti Aug 4, 2016
e0dcb18
[TASK] initial commit
Kanti Aug 11, 2016
88a9732
[FEATURE] added all inital files
Kanti Aug 11, 2016
1926516
[BUGFIX] xlifflint in own repo
Kanti Aug 11, 2016
88aff04
[FEATURE] aligne ERROR and WARNING messages
Kanti Aug 29, 2016
e4b2b26
[CLEANUP] remove unnecessary phpcsfxier
Kanti Aug 29, 2016
220464f
[BUGFIX] make grumphp happy again
Kanti Aug 29, 2016
7876cf7
[FEATURE] add test/assets
Kanti Jan 12, 2017
0b29b82
[BUGFIX] fix travis
Kanti Jan 12, 2017
749a07f
[FEATURE] change dependencies
Kanti Jan 12, 2017
3e2c0de
[CLEANUP] rebranding to pluswerk
Kanti Jul 12, 2017
f877ce0
[CLEANUP] rebranding to pluswerk
Kanti Jul 12, 2017
de9d9c1
[CLEANUP] rebrand continue (#3)
Kanti Jul 14, 2017
77c3e49
[FEATURE] faster travis (#1)
Kanti Jul 26, 2017
c016a22
[FEATURE] faster travis (#2)
Kanti Jul 26, 2017
9784b3a
[TASK] update grumphp version number (#2)
Kanti Oct 5, 2017
f893b41
[TASK] update grumphp version number (#4)
Kanti Oct 5, 2017
759a052
[CLEANUP] Readme cleaned and ajusted (#5)
Cyb10101 Oct 14, 2017
8f30377
[CLEANUP] Some php code cleanups (#3)
Cyb10101 Oct 18, 2017
10dafeb
Update composer.json include grumphp 0.13 (#6)
Kanti Jan 29, 2018
7f358d6
Update composer.json include grumphp 0.13 (#4)
Kanti Jan 29, 2018
65d2f9c
[BUGFIX] fix bom task with grumphp 0.13.0 (#6)
Kanti Feb 14, 2018
6aab2ce
[BUGFIX] fix xliff task with grumphp 0.13.0 (#8)
Kanti Feb 14, 2018
b4f555a
Update composer.json (#7)
Kanti Feb 16, 2018
3714938
Update composer.json (#5)
Kanti Feb 16, 2018
5a1418d
[FEATURE] fix tests for grumphp 0.14 (#7)
Kanti Feb 27, 2018
d4f0c92
[FEATURE] fix tests for grumphp 0.14 (#9)
Kanti Feb 27, 2018
6659589
[TASK] fix travis.yml
Kanti Jul 18, 2018
03f91cf
[TASK] fix travis.yml
Kanti Jul 18, 2018
c53ce7d
Merge pull request #8 from pluswerk/Kanti-patch-1
Kanti Jul 23, 2018
ee186b3
Merge pull request #10 from pluswerk/Kanti-patch-1
Kanti Jul 23, 2018
921488e
:arrow_up: upgrade grumphp to 0.16.* and php to mininum 7.2
Kanti Oct 29, 2019
fb88c70
:arrow_up: upgrade grumphp to 0.16.* and php to mininum 7.2
Kanti Oct 29, 2019
aed5093
⬆️ upgrade grumphp to 0.16.* and php to mininum 7.2 (#9)
Kanti Oct 29, 2019
00c2416
⬆️ upgrade grumphp to 0.16.* and php to mininum 7.2 (#11)
Kanti Oct 29, 2019
8afe4a1
Update README.md
Kanti Oct 29, 2019
170626b
Merge pull request #10 from pluswerk/Kanti-patch-2
Kanti Oct 30, 2019
438de98
Update README.md
Kanti Oct 30, 2019
0cf7910
Update README.md
Kanti Oct 30, 2019
8b40c1a
Update README.md (#12)
Kanti Oct 30, 2019
5df1509
Update README.md (#11)
Kanti Oct 30, 2019
d105077
[TASK] allow grumphp 0.17 install
Jan 13, 2020
708df49
:arrow_up: allow phpro/grumphp version 0.17
Kanti Jan 14, 2020
d6ab639
Update composer.json
Jan 14, 2020
9f8d209
[TASK] allow grumphp 0.17 install (#13)
Kanti Jan 14, 2020
02bce40
⬆️ allow phpro/grumphp version 0.17 (#12)
Kanti Jan 14, 2020
8921601
:sparkles: make bom fixer task compatible with grumphp 0.19
Kanti Jun 8, 2020
7d29e00
:sparkles: make compatible with grumphp 0.19
Kanti Jun 8, 2020
dc971f6
Merge pull request #15 from pluswerk/feature/grumphp-0.19
Kanti Jun 15, 2020
75d2c30
Merge pull request #13 from pluswerk/feature/grumphp-0.19
Kanti Jun 15, 2020
8572e11
⬆️ update to be compatible with grumphp to 1.3 but php only >=7.3
Kanti Apr 13, 2021
264a391
⬆️ update to be compatible with grumphp to 1.3 but php only >=7.3
Kanti Apr 13, 2021
5c16664
Merge pull request #15 from pluswerk/feature/grumphp-update
Kanti May 13, 2021
5f13c9b
Merge pull request #16 from pluswerk/feature/grumphp-update
Kanti May 13, 2021
52a6fca
🎉 inital commit
Kanti Feb 3, 2023
a9971ea
✨ add LGPL 3.0 license to composer.json
Kanti Feb 3, 2023
4ba882b
🐛 can not be used with phpstan/extension-installer
Kanti Feb 3, 2023
8c531af
ignore deleted files
Kanti Feb 7, 2023
5708181
Merge pull request #1 from andersundsehr/Kanti-patch-1
Kanti Feb 7, 2023
910356a
✨ add compat for grumphp 2
Kanti Jul 31, 2023
bf5efb5
✨ add github action
Kanti Jul 31, 2023
cc0f75d
✨ add compat for grumphp 2
Kanti Jul 31, 2023
3556be6
Merge pull request #17 from pluswerk/feature/grumphp-2
Kanti Jul 31, 2023
88719f3
Merge pull request #16 from pluswerk/feature/grumphp-2
Kanti Jul 31, 2023
ec52148
✨ use grumphp-config for linting
Kanti Jul 31, 2023
1a91eba
✨ use grumphp-config for linting
Kanti Jul 31, 2023
19d1698
Merge pull request #18 from pluswerk/use-grumphp-config
Kanti Jul 31, 2023
f801d77
Merge pull request #17 from pluswerk/use-grumphp-config
Kanti Jul 31, 2023
df12d3b
✨ add php8.3 compat
Kanti Nov 3, 2023
b09e8f6
Merge pull request #18 from pluswerk/php8.3-rc
Kanti Nov 3, 2023
1f7728d
✨ add php8.3 compat
Kanti Nov 3, 2023
f5bbade
Merge pull request #19 from pluswerk/php8.3
Kanti Nov 3, 2023
9fa95c9
🔥 remove --ignore-platform-req=php+
Kanti Nov 3, 2023
fa93ee7
🔥 remove --ignore-platform-req=php+
Kanti Nov 3, 2023
fd832f4
use php 8.3 stable
Kanti Feb 1, 2024
e286024
use php 8.3 stable
Kanti Feb 1, 2024
02689a7
Merge pull request #20 from pluswerk/Kanti-patch-1
Kanti Feb 2, 2024
3ddf2d6
Merge pull request #19 from pluswerk/Kanti-patch-1
Kanti Feb 2, 2024
edb4022
✨ inital commit
Kanti Aug 7, 2024
ecea93e
🐛 add github action to run grumphp
Kanti Aug 7, 2024
02a3974
🐛 set exit code to 1 if php version is a miss match
Kanti Aug 7, 2024
923a1b6
🐛 fix bin path if rector is not in $PATH directories
Kanti Aug 7, 2024
0145ddf
➕ add symfony 5 compatibility
Kanti Aug 19, 2024
c6df2ae
Merge pull request #1 from andersundsehr/symfony-5
Kanti Aug 19, 2024
43a20f3
✨ add argument source to the command
Kanti Sep 19, 2024
acce57e
Merge pull request #2 from andersundsehr/feature/source
Kanti Sep 19, 2024
69042a6
✨ add hash to cache so cahnged files are detected
Kanti Oct 15, 2024
b074c13
Merge pull request #3 from andersundsehr/file-hash-cache
Kanti Oct 15, 2024
50c1346
✨ add OutputInterface::VERBOSITY_SILENT
Kanti Dec 3, 2024
8fa89f5
Merge pull request #4 from andersundsehr/add-verbosity-silent
Kanti Dec 3, 2024
5b6867e
🐛 fix phpstan cache
Kanti Jan 8, 2025
e5d39f3
Update extension.php
Kanti Jan 9, 2025
57b6c93
🐛 fix grumphp run
Kanti Jan 9, 2025
77ec59b
➕ test with phpstan 2
Kanti Jan 13, 2025
0921501
✨ use branch-alias in composer.json
Kanti Jan 13, 2025
97c0571
Merge pull request #4 from andersundsehr/Kanti-patch-1
Kanti Jan 13, 2025
b6c84cd
move files to new destination folder for branch main
Feb 19, 2025
a2b39ce
merge in main of grumphp-xliff-task
Feb 19, 2025
e8f8f39
move files to new destination folder for branch main
Feb 19, 2025
1d6ff79
merge in main of grumphp-bom-task
Feb 19, 2025
7a7a0aa
move files to new destination folder for branch main
Feb 19, 2025
9195358
merge in main of phpstan-git-files
Feb 19, 2025
11ac402
move files to new destination folder for branch main
Feb 19, 2025
0499b6e
merge in main of rector-p
Feb 19, 2025
9c9c72d
Merge branch 'phpstan-git-files-merged-main' into all-merged
Kanti Feb 19, 2025
cbb6c47
Merge branch 'grumphp-bom-task-merged-main' into all-merged
Kanti Feb 19, 2025
195a132
Merge branch 'grumphp-xliff-task-merged-main' into all-merged
Kanti Feb 19, 2025
f9c9990
⬆️ update to rector 2 and phpstan 2
Kanti Feb 19, 2025
3a207e7
✨ prepare v10 with code split
Kanti Feb 24, 2025
6fffd85
✨ split test
Kanti Feb 24, 2025
5b2e2ec
🔥 cleanup after code split test
Kanti Feb 24, 2025
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
9 changes: 9 additions & 0 deletions .ddev/commands/web/here
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

## Description: Exec anything in the same directory as on the host
## Usage: here [flags] [args]
## Example: "ddev here ls"
## ExecRaw: true
## HostWorkingDir: true

bash -c "$*"
281 changes: 281 additions & 0 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
name: grumphp-mono-repo
type: php
docroot: ""
php_version: "8.4"
webserver_type: nginx-fpm
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
type: mariadb
version: "10.11"
use_dns_when_possible: true
composer_version: "2"
web_environment:
- COMPOSER_ROOT_VERSION=dev-main
corepack_enable: false

# Key features of DDEV's config.yaml:

# name: <projectname> # Name of the project, automatically provides
# http://projectname.ddev.site and https://projectname.ddev.site

# type: <projecttype> # backdrop, cakephp, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, laravel, magento, magento2, php, shopware6, silverstripe, symfony, typo3, wordpress
# See https://ddev.readthedocs.io/en/stable/users/quickstart/ for more
# information on the different project types

# docroot: <relative_path> # Relative path to the directory containing index.php.

# php_version: "8.3" # PHP version to use, "5.6" through "8.4"

# You can explicitly specify the webimage but this
# is not recommended, as the images are often closely tied to DDEV's' behavior,
# so this can break upgrades.

# webimage: <docker_image> # nginx/php docker image.

# database:
# type: <dbtype> # mysql, mariadb, postgres
# version: <version> # database version, like "10.11" or "8.0"
# MariaDB versions can be 5.5-10.8, 10.11, and 11.4.
# MySQL versions can be 5.5-8.0.
# PostgreSQL versions can be 9-17.

# router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
# router_https_port: <port> # Port for https (defaults to global configuration, usually 443)

# xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart"
# Note that for most people the commands
# "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better,
# as leaving Xdebug enabled all the time is a big performance hit.

# xhprof_enabled: false # Set to true to enable Xhprof and "ddev start" or "ddev restart"
# Note that for most people the commands
# "ddev xhprof" to enable Xhprof and "ddev xhprof off" to disable it work better,
# as leaving Xhprof enabled all the time is a big performance hit.

# webserver_type: nginx-fpm or apache-fpm

# timezone: Europe/Berlin
# If timezone is unset, DDEV will attempt to derive it from the host system timezone
# using the $TZ environment variable or the /etc/localtime symlink.
# This is the timezone used in the containers and by PHP;
# it can be set to any valid timezone,
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# For example Europe/Dublin or MST7MDT

# composer_root: <relative_path>
# Relative path to the Composer root directory from the project root. This is
# the directory which contains the composer.json and where all Composer related
# commands are executed.

# composer_version: "2"
# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1
# to use the latest major version available at the time your container is built.
# It is also possible to use each other Composer version channel. This includes:
# - 2.2 (latest Composer LTS version)
# - stable
# - preview
# - snapshot
# Alternatively, an explicit Composer version may be specified, for example "2.2.18".
# To reinstall Composer after the image was built, run "ddev debug rebuild".

# nodejs_version: "22"
# change from the default system Node.js version to any other version.
# See https://ddev.readthedocs.io/en/stable/users/configuration/config/#nodejs_version for more information
# and https://www.npmjs.com/package/n#specifying-nodejs-versions for the full documentation,
# Note that using of 'ddev nvm' is discouraged because "nodejs_version" is much easier to use,
# can specify any version, and is more robust than using 'nvm'.

# corepack_enable: false
# Change to 'true' to 'corepack enable' and gain access to latest versions of yarn/pnpm

# additional_hostnames:
# - somename
# - someothername
# would provide http and https URLs for "somename.ddev.site"
# and "someothername.ddev.site".

# additional_fqdns:
# - example.com
# - sub1.example.com
# would provide http and https URLs for "example.com" and "sub1.example.com"
# Please take care with this because it can cause great confusion.

# upload_dirs: "custom/upload/dir"
#
# upload_dirs:
# - custom/upload/dir
# - ../private
#
# would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
# When Mutagen is enabled this path is bind-mounted so that all the files
# in the upload_dirs don't have to be synced into Mutagen.

# disable_upload_dirs_warning: false
# If true, turns off the normal warning that says
# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"

# ddev_version_constraint: ""
# Example:
# ddev_version_constraint: ">= 1.22.4"
# This will enforce that the running ddev version is within this constraint.
# See https://github.com/Masterminds/semver#checking-version-constraints for
# supported constraint formats

# working_dir:
# web: /var/www/html
# db: /home
# would set the default working directory for the web and db services.
# These values specify the destination directory for ddev ssh and the
# directory in which commands passed into ddev exec are run.

omit_containers: [db]
# Currently only these containers are supported. Some containers can also be
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
# the "db" container, several standard features of DDEV that access the
# database container will be unusable. In the global configuration it is also
# possible to omit ddev-router, but not here.

# performance_mode: "global"
# DDEV offers performance optimization strategies to improve the filesystem
# performance depending on your host system. Should be configured globally.
#
# If set, will override the global config. Possible values are:
# - "global": uses the value from the global config.
# - "none": disables performance optimization for this project.
# - "mutagen": enables Mutagen for this project.
# - "nfs": enables NFS for this project.
#
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#nfs
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#mutagen

# fail_on_hook_fail: False
# Decide whether 'ddev start' should be interrupted by a failing hook

# host_https_port: "59002"
# The host port binding for https can be explicitly specified. It is
# dynamic unless otherwise specified.
# This is not used by most people, most people use the *router* instead
# of the localhost port.

# host_webserver_port: "59001"
# The host port binding for the ddev-webserver can be explicitly specified. It is
# dynamic unless otherwise specified.
# This is not used by most people, most people use the *router* instead
# of the localhost port.

# host_db_port: "59002"
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
# unless explicitly specified.

# mailpit_http_port: "8025"
# mailpit_https_port: "8026"
# The Mailpit ports can be changed from the default 8025 and 8026

# host_mailpit_port: "8025"
# The mailpit port is not normally bound on the host at all, instead being routed
# through ddev-router, but it can be bound directly to localhost if specified here.

# webimage_extra_packages: [php7.4-tidy, php-bcmath]
# Extra Debian packages that are needed in the webimage can be added here

# dbimage_extra_packages: [telnet,netcat]
# Extra Debian packages that are needed in the dbimage can be added here

# use_dns_when_possible: true
# If the host has internet access and the domain configured can
# successfully be looked up, DNS will be used for hostname resolution
# instead of editing /etc/hosts
# Defaults to true

# project_tld: ddev.site
# The top-level domain used for project URLs
# The default "ddev.site" allows DNS lookup via a wildcard
# If you prefer you can change this to "ddev.local" to preserve
# pre-v1.9 behavior.

# ngrok_args: --basic-auth username:pass1234
# Provide extra flags to the "ngrok http" command, see
# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h"

# disable_settings_management: false
# If true, DDEV will not create CMS-specific settings files like
# Drupal's settings.php/settings.ddev.php or TYPO3's additional.php
# In this case the user must provide all such settings.

# You can inject environment variables into the web container with:
# web_environment:
# - SOMEENV=somevalue
# - SOMEOTHERENV=someothervalue

# no_project_mount: false
# (Experimental) If true, DDEV will not mount the project into the web container;
# the user is responsible for mounting it manually or via a script.
# This is to enable experimentation with alternate file mounting strategies.
# For advanced users only!

# bind_all_interfaces: false
# If true, host ports will be bound on all network interfaces,
# not the localhost interface only. This means that ports
# will be available on the local network if the host firewall
# allows it.

# default_container_timeout: 120
# The default time that DDEV waits for all containers to become ready can be increased from
# the default 120. This helps in importing huge databases, for example.

#web_extra_exposed_ports:
#- name: nodejs
# container_port: 3000
# http_port: 2999
# https_port: 3000
#- name: something
# container_port: 4000
# https_port: 4000
# http_port: 3999
# Allows a set of extra ports to be exposed via ddev-router
# Fill in all three fields even if you don’t intend to use the https_port!
# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
#
# The port behavior on the ddev-webserver must be arranged separately, for example
# using web_extra_daemons.
# For example, with a web app on port 3000 inside the container, this config would
# expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
# web_extra_exposed_ports:
# - name: myapp
# container_port: 3000
# http_port: 9998
# https_port: 9999

#web_extra_daemons:
#- name: "http-1"
# command: "/var/www/html/node_modules/.bin/http-server -p 3000"
# directory: /var/www/html
#- name: "http-2"
# command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000"
# directory: /var/www/html

# override_config: false
# By default, config.*.yaml files are *merged* into the configuration
# But this means that some things can't be overridden
# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge
# and you can't erase existing hooks or all environment variables.
# However, with "override_config: true" in a particular config.*.yaml file,
# 'use_dns_when_possible: false' can override the existing values, and
# hooks:
# post-start: []
# or
# web_environment: []
# or
# additional_hostnames: []
# can have their intended affect. 'override_config' affects only behavior of the
# config.*.yaml file it exists in.

# Many DDEV commands can be extended to run tasks before or after the
# DDEV command is executed, for example "post-start", "post-import-db",
# "pre-composer", "post-composer"
# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more
# information on the commands that can be extended and the tasks you can define
# for them. Example:
#hooks:
3 changes: 3 additions & 0 deletions .gitattribute
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.ddev/ export-ignore
.github/ export-ignore
packages/ export-ignore
docker-compose.yml export-ignore
66 changes: 57 additions & 9 deletions .github/workflows/run-grumphp-test.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,73 @@
name: Run grumphp with different versions
on: [push]
name: grumphp

on:
push:
branches: "*"
tags: "*"
schedule:
- cron: '0 0 * * *'

jobs:
test:
name: "php: ${{ matrix.php }} TYPO3: ${{ matrix.typo3 }}"
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.1', '8.2', '8.3']
php: ['8.2', '8.3', '8.4']
typo3: [false, true]
container:
image: kanti/buildy:${{ matrix.php }}
env:
COMPOSER_ROOT_VERSION: dev-main
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: git config --global --add safe.directory /__w/grumphp-config/grumphp-config
- run: |
- if: ${{ ! matrix.typo3 }}
run: |
composer install --no-progress --no-scripts -n \
&& mv phpstan-baseline-without-typo3.neon phpstan-baseline.neon
if: ${{ ! matrix.typo3 }}
- if: ${{ matrix.typo3 }}
run: composer req saschaegerer/phpstan-typo3 ssch/typo3-rector --no-progress --no-scripts -n
- run: ./vendor/bin/grumphp run --ansi

- run: composer req saschaegerer/phpstan-typo3 ssch/typo3-rector --no-progress --no-scripts -n
if: ${{ matrix.typo3 }}
test-packages:
name: "${{ matrix.package }} php: ${{ matrix.php }}"
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: ['grumphp-bom-task', 'grumphp-xliff-task', 'phpstan-git-files', 'rector-p']
php: ['8.2', '8.3', '8.4']
container:
image: kanti/buildy:${{ matrix.php }}
env:
COMPOSER_ROOT_VERSION: dev-main
defaults:
run:
working-directory: ./packages/${{ matrix.package }}
steps:
- uses: actions/checkout@v4
- run: git config --global --add safe.directory /__w/grumphp-config/grumphp-config
- run: composer install --no-progress --no-scripts -n
- run: ./vendor/bin/grumphp run --ansi

- run: ./vendor/bin/grumphp run
code-split:
name: "Code Split ${{ matrix.package }}"
needs:
- test
- test-packages
if: ${{ ( startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' ) && github.event_name == 'push' }}
runs-on: ubuntu-latest
environment: code split
env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
strategy:
fail-fast: false
matrix:
package: ['grumphp-bom-task', 'grumphp-xliff-task', 'phpstan-git-files', 'rector-p']
steps:
- uses: actions/checkout@v4
- run: ./split.sh ${{ matrix.package }}
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
.idea
var
public/
packages/*
!packages/.gitkeep

.env
Loading