Skip to content

Commit

Permalink
Merge branch '2.x' into error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym authored Mar 19, 2022
2 parents b7292a7 + 81aad1f commit ff40fad
Show file tree
Hide file tree
Showing 173 changed files with 1,975 additions and 7,594 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,5 @@ jobs:
- name: Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist

- name: Validate composer.json
run: composer validate --strict

- name: Run PHP_CodeSniffer
run: ./vendor/bin/phpcs -q --no-colors --report=checkstyle src tests | cs2pr
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- ubuntu-latest
- windows-latest
php-version:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
dependencies:
- lowest
- highest
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/update-copyright-years-in-license-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Update copyright year(s) in license file

on:
workflow_dispatch:
schedule:
- cron: "0 3 1 1 *"

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
19 changes: 6 additions & 13 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
filter:
paths: ["src/*"]
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_cpd: true
php_mess_detector:
enabled: true
config:
ruleset: ./phpmd.xml
php_code_sniffer:
enabled: true
config:
ruleset: ./phpcs.xml
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2021 Akihito Koriyama
Copyright (c) 2012-2022 Akihito Koriyama

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit ff40fad

Please sign in to comment.