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 KnpLabs/Master into Headoo/Master #5

Open
wants to merge 397 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
397 commits
Select commit Hold shift + click to select a range
9a73416
composer: drop symfony/security, that blocks install
TomasVotruba Dec 19, 2019
d2ada2a
remove transliterator dependency
TomasVotruba Dec 19, 2019
f7eb1c5
use symfony/strings
TomasVotruba Dec 19, 2019
b7a1e88
Use symfony/strings instead of transliterator (#468)
TomasVotruba Dec 19, 2019
3e5b3cc
prevent double interface registration
TomasVotruba Dec 19, 2019
bf7d5cb
cleanup
TomasVotruba Dec 19, 2019
e66e726
merge UPGRADE and CONTRIBUTING to README, add @rectorphp upgrade set …
TomasVotruba Dec 19, 2019
439df33
update rector set with trait to interface
TomasVotruba Dec 19, 2019
8d83cef
headline
TomasVotruba Dec 20, 2019
c04336f
shift params
TomasVotruba Dec 23, 2019
30d520b
add id translation rector
TomasVotruba Dec 23, 2019
d585763
[Rector] Add Upgrade set for id property on translations (#469)
TomasVotruba Dec 23, 2019
b9e1932
add changelog linker
TomasVotruba Dec 24, 2019
fd9886c
init changelog
TomasVotruba Dec 24, 2019
6746284
add placeholder
TomasVotruba Dec 24, 2019
5bfc59e
Add CHANGELOG.md (#470)
TomasVotruba Dec 24, 2019
c36f8ba
Fix slug generation if the getRegenerateSlugOnUpdate method return false
hermann8u Dec 25, 2019
ff2a9b6
CS
hermann8u Dec 25, 2019
dd7eb22
move Subscriber to src/EventSubscriber
TomasVotruba Dec 25, 2019
1f71cc9
drop Sortable, never worked
TomasVotruba Dec 25, 2019
93abce8
[Sortable] Drop, it never worked (#473)
TomasVotruba Dec 25, 2019
e89b549
split NodeTrait to NodeMethodsTrait and NodePropertiesTrait
TomasVotruba Dec 25, 2019
55fb8a6
Merge pull request #474 from KnpLabs/tree-split
TomasVotruba Dec 25, 2019
c34b9ae
prefix Node with Tree, to make it explicit
TomasVotruba Dec 25, 2019
b5276bf
[Tree] Include name "tree" in naming (#475)
TomasVotruba Dec 25, 2019
0ad78f5
typo
TomasVotruba Dec 25, 2019
c61202c
wording
TomasVotruba Dec 27, 2019
0f235f9
Add test case
hermann8u Dec 28, 2019
1c59b6a
Test CS
hermann8u Dec 28, 2019
09e9766
Configure CS to ignore private trait's method override
hermann8u Dec 28, 2019
719299e
Remove unsued property in test entity SluggableWithoutRegenerateEntity
hermann8u Dec 28, 2019
657905a
Remove unused imports
hermann8u Dec 28, 2019
6209178
Fix slug generation if the getRegenerateSlugOnUpdate method retu… (#472)
TomasVotruba Dec 28, 2019
00ac460
Fix slug uniqueness check function
StanislavUngr Jan 1, 2020
37af571
Fix slug uniqueness check function (#477)
TomasVotruba Jan 1, 2020
423df04
improve docs
TomasVotruba Jan 1, 2020
04bf577
[Timestampable] Handle db field for user
TomasVotruba Jan 1, 2020
5676758
add translator fallback
TomasVotruba Jan 1, 2020
e32353d
decouple BlameableUserValidation
TomasVotruba Jan 1, 2020
9bfa143
misc docs
TomasVotruba Jan 1, 2020
87f3a8c
respect provided symfony user
TomasVotruba Jan 1, 2020
89bc3d3
improve blameable subscriber
TomasVotruba Jan 1, 2020
c407a14
Improve docs, handle timestampable field type for the user (#478)
TomasVotruba Jan 1, 2020
aea3f32
update CHANGELOG for v2.0.0-beta1
TomasVotruba Jan 1, 2020
9506581
make lazy loading configurable
TomasVotruba Jan 1, 2020
e5650d1
make lazy loading configurable (#479)
TomasVotruba Jan 1, 2020
1befb48
[Translatable] Remove mapId() magic
TomasVotruba Jan 1, 2020
b3bb9f6
[Translatable] Remove mapId() magic (#480)
TomasVotruba Jan 1, 2020
1bcce5a
update CHANGELOG for 2.0
TomasVotruba Jan 2, 2020
b8a0437
Fix timestampable code in docs
ckrack Jan 5, 2020
0344aa9
Fix softdeletable code in docs
ckrack Jan 6, 2020
a099e2e
Merge pull request #484 from ckrack/patch-1
TomasVotruba Jan 6, 2020
bffec25
Fix slug uniqueness
hermann8u Jan 6, 2020
2cf2585
Merge pull request #487 from hermann8u/fix-slug-uniqueness
TomasVotruba Jan 6, 2020
667a4c5
Update UuidablePropertiesTrait.php
lsv Jan 7, 2020
4e06773
docs
TomasVotruba Jan 7, 2020
09bba02
composer: bump to Symplify 7.2
TomasVotruba Jan 7, 2020
d9807fe
fix boolean method name prefix
TomasVotruba Jan 7, 2020
df8d57e
Moved unitOfWork access to methods instead of constructor
toooni Jan 7, 2020
c9a116b
Moved getting UnitOfWork to private method
toooni Jan 7, 2020
7bd753f
fix boolean method name prefix (#490)
TomasVotruba Jan 7, 2020
a85f3c5
Moved unitOfWork access to methods instead of constructor (#493)
TomasVotruba Jan 7, 2020
583bed6
fix cs
TomasVotruba Jan 7, 2020
ca6d236
[Blameable] Added new parameter to allow definition of the user entity
fsoedjede Jan 7, 2020
4ef6b78
[Blameable] Added test for new parameter `doctrine_behaviors_blameabl…
fsoedjede Jan 7, 2020
3add5f1
release v2.0.1
TomasVotruba Jan 8, 2020
f5b05f3
[Blameable] Added new parameter to allow definition of the user… (#491)
TomasVotruba Jan 9, 2020
9048df2
Use locale parameter as default locale
toooni Jan 11, 2020
7514ad1
Readd default locale from request
toooni Jan 11, 2020
44bfed1
Use parameter bag instead of binding parameter in config
toooni Jan 11, 2020
4e0211d
Do not allow old framework-bundle versions
toooni Jan 11, 2020
d582790
Add another layer for locale fallback - %locale% parameter (#498)
TomasVotruba Jan 11, 2020
e76d3d4
Address deprecations from persistence lib
greg0ire Jan 11, 2020
f615a46
Address deprecations from persistence lib (#499)
TomasVotruba Jan 11, 2020
cacc91b
Update LocaleProvider.php
labudzinski Jan 13, 2020
fe7dfc9
Merge pull request #1 from Effiana/bugfix/500
labudzinski Jan 13, 2020
f135709
Update doc for install this bundle
seb-jean Jan 13, 2020
d7bac63
Attempted to call an undefined method named "getDefaultLocale" (#501)
TomasVotruba Jan 13, 2020
ad928e4
Merge pull request #502 from seb-jean/patch-1
TomasVotruba Jan 13, 2020
b7116e4
[Translatable+Sluggable] Make sure the slug is unique when multiple t…
fsoedjede Jan 15, 2020
0259a78
Merge pull request #505 from fsoedjede/488-translatable-with-sluggable
TomasVotruba Jan 16, 2020
060fc53
Make:entity dispatches event with incomplete argument
Jan 19, 2020
a076c4a
Merge pull request #510 from ewbarnard/master
TomasVotruba Jan 20, 2020
39e2ae4
Fix method name
peschee Jan 29, 2020
0306084
Merge pull request #515 from peschee/patch-1
TomasVotruba Jan 29, 2020
2b9b43d
Fix setChildNodeOf docblock
akira28 Feb 9, 2020
c784469
Merge pull request #518 from akira28/patch-1
TomasVotruba Feb 9, 2020
a2cff5c
add Github Actions
TomasVotruba Jan 7, 2020
cc27ce9
Merge pull request #494 from KnpLabs/github-actions
TomasVotruba Feb 11, 2020
87895f5
use paths parameters for compat
TomasVotruba Feb 11, 2020
b8a4b01
phpstan: clean "ignore_errors" for Translatable/Translation
Kocal Feb 12, 2020
65e561c
test: use good type
Kocal Feb 12, 2020
3013bec
fix: use @phpstan-param for a more precise type on `setTranslations`
Kocal Feb 12, 2020
a5052aa
phpstan: add extensions
Kocal Feb 12, 2020
d64aa37
refactor(phpstan): use Broker instead with MethodCall and Scope
Kocal Feb 12, 2020
df19a87
chore: code style
Kocal Feb 12, 2020
16a9c4e
test: add @method annotations on proxy translatable
Kocal Feb 12, 2020
5c81b70
chore: wording
Kocal Feb 12, 2020
6c1aa83
add type "symfony-bundle" for packagist
rogamoore Feb 16, 2020
bc469cd
Merge pull request #521 from rogamoore/patch-1
TomasVotruba Feb 16, 2020
3810047
Merge pull request #520 from Kocal/phpstan-extension
TomasVotruba Feb 19, 2020
a187e4f
fix rector upgrade rules
brizzz Mar 9, 2020
75a3cee
Merge pull request #526 from brizzz/master
TomasVotruba Mar 9, 2020
933a4f9
bump rector
TomasVotruba Mar 9, 2020
1396d1d
bump phpstan
TomasVotruba Mar 10, 2020
7890dc2
Trigger notification
TomasVotruba Mar 10, 2020
5b7f1e6
Merge pull request #527 from KnpLabs/rector-update
TomasVotruba Mar 10, 2020
f46483d
improve complexity
TomasVotruba Mar 16, 2020
b04d7db
add unique exceptions
TomasVotruba Mar 16, 2020
fe938ef
add unique class names
TomasVotruba Mar 16, 2020
c471f27
make phpstan extension
TomasVotruba Mar 16, 2020
cde7911
add class cognitive sniff
TomasVotruba Mar 16, 2020
8086cfd
use remote set
TomasVotruba Mar 16, 2020
d9dde97
improve nullable type hint in computeFallbackLocale(), change from fa…
TomasVotruba Mar 16, 2020
24f7cac
Merge pull request #530 from KnpLabs/rector-update
TomasVotruba Mar 16, 2020
6f564f6
Added quotes for correct scripting in windows
uginroot Mar 18, 2020
825cfaf
Fix phpstan error
uginroot Mar 19, 2020
ccc76fa
Move class DoctrineBehaviorsBundle (https://symfony.com/doc/current/b…
uginroot Mar 19, 2020
98dc45b
Fix phpstan ignoreErrors (For some reason, the position has changed a…
uginroot Mar 19, 2020
c25e3e2
Now register itself
uginroot Mar 19, 2020
7a5a62c
Add exclude bundle class
uginroot Mar 19, 2020
61ec71d
Add PHPStan folder exclude
uginroot Mar 19, 2020
1a68709
Revert commit #6f564f6
uginroot Mar 24, 2020
774676b
Update tests/ORM/UuidableTest.php
uginroot Mar 24, 2020
7051364
Add use interface
uginroot Mar 24, 2020
7d9d3bc
Merge pull request #534 from uginroot/master
TomasVotruba Mar 24, 2020
a8dc94f
Revert "fix(config): exclude PHPStan folder, fix #537"
Kocal Mar 24, 2020
29c9033
chore: move PHPStan files at utils/phpstan-behaviors/src
Kocal Mar 24, 2020
7e8ec7d
chore: fix phpstan
Kocal Mar 24, 2020
f4e7c0d
Support ramsey/uuid version 4
tsctao Mar 26, 2020
8d98d88
Run rector
Mar 26, 2020
c397bf7
Implement hashId field and subscribers
Mar 27, 2020
04b264c
Update ramsey/uuid version
tsctao Mar 28, 2020
43a841a
Merge pull request #539 from tsctao/patch-1
TomasVotruba Mar 28, 2020
fb82d0c
Merge pull request #538 from Kocal/fix/sf-phpstan-autowire
TomasVotruba Mar 30, 2020
2032dab
Add translation id field information
uginroot Mar 31, 2020
f7878b1
Update docs/translatable.md
TomasVotruba Mar 31, 2020
aa9c140
Merge pull request #543 from uginroot/master
TomasVotruba Mar 31, 2020
92bd39b
Fix broken old bandle register class (#544)
uginroot Apr 1, 2020
8578ea5
Bugfix for Tree: getRealMaterializedPath
Apr 6, 2020
97bd87e
Default locale provider handling (#547)
danut007ro Apr 7, 2020
ebb188c
Merge pull request #546 from prof-web-coding/new_branch
TomasVotruba Apr 7, 2020
6080b80
Fix typos
pgrimaud Apr 18, 2020
0c4686d
Merge pull request #550 from pgrimaud/master
TomasVotruba Apr 18, 2020
f9f87fa
Move datetime type field from database type detection to service conf…
Apr 27, 2020
0735785
Merge pull request #555 from pmontoya/master
TomasVotruba Apr 27, 2020
636615d
Add tests for hashids
tsdevelopment May 9, 2020
9bdb68b
Update docs for hashids
tsdevelopment May 9, 2020
53ea13d
Update title for hashids
tsdevelopment May 9, 2020
291bac6
Fix code style
tsdevelopment May 9, 2020
82f6675
Merge branch 'master' into feature/add-hashids
tsdevelopment May 9, 2020
733fd55
Remove usage of constant Types::STRING
tsdevelopment May 9, 2020
7de6071
Merge pull request #489 from lsv/patch-1
TomasVotruba Jun 13, 2020
0635926
Test hashId result more preciesely
tsdevelopment Jun 14, 2020
a274b44
Merge branch 'master' into feature/add-hashids
tsdevelopment Jun 14, 2020
7eb1ceb
Merge pull request #561 from tsdevelopment/feature/add-hashids
TomasVotruba Jun 14, 2020
9913d1d
rename *Subscriber to *EventSubscriber to respet parent interface naming
TomasVotruba Jun 14, 2020
907df03
composer: update dev dependencies
TomasVotruba Jun 14, 2020
2084256
fix cs
TomasVotruba Jun 14, 2020
148091e
ecs: remove dead complexity rules
TomasVotruba Jun 14, 2020
d4d373a
remove getSluggableFields() from trait, as covered by SluggableInterface
TomasVotruba Jun 14, 2020
da63b53
phpstan: temporarily ignore magic reports
TomasVotruba Jun 14, 2020
92e6276
update service names in test configs
TomasVotruba Jun 14, 2020
5b39670
Merge pull request #567 from KnpLabs/update
TomasVotruba Jun 14, 2020
6e75db3
remove magic from TreeNodeTest
TomasVotruba Jun 14, 2020
deb5c4c
remove magic from LoggableTest
TomasVotruba Jun 14, 2020
c7702a3
remove method call magic from LoggableTest
TomasVotruba Jun 14, 2020
34a5dc9
update depreated method name
TomasVotruba Jun 14, 2020
e3b96c7
ignore dynamic property errors
TomasVotruba Jun 14, 2020
6432bdd
Merge pull request #568 from KnpLabs/less-magic
TomasVotruba Jun 14, 2020
f55cff2
Update translatable.md
bettinz Jun 15, 2020
3eed95e
Merge pull request #569 from bettinz/patch-1
TomasVotruba Jun 15, 2020
0a6a775
Fix autowiring hashid dependency
tsdevelopment Jun 17, 2020
e869ec1
Fix tests
tsdevelopment Jun 17, 2020
03755c6
Merge pull request #572 from tsdevelopment/feature/fix-hashids-autowi…
TomasVotruba Jun 19, 2020
11e3677
[Hashids] Enable optionaly if Roukmoute bundle is registered
TomasVotruba Jun 21, 2020
50deeda
Merge pull request #577 from KnpLabs/hashids-optional
TomasVotruba Jun 21, 2020
03c4474
[hashids] add note about registratoins
TomasVotruba Jun 21, 2020
7b589cd
revert hashidable
TomasVotruba Jun 22, 2020
38b9bc3
Merge pull request #579 from KnpLabs/hashids-revert
TomasVotruba Jun 22, 2020
2bb8615
conver YAML config to PHP
TomasVotruba Aug 17, 2020
eb98586
static fixes
TomasVotruba Aug 17, 2020
6d92a57
apply rector
TomasVotruba Aug 17, 2020
0fb1bfb
add naming set
TomasVotruba Aug 17, 2020
18d0487
add koidak config
TomasVotruba Aug 17, 2020
3a607b5
switch extension config from YAML to PHP
TomasVotruba Aug 17, 2020
933ef67
Merge pull request #585 from KnpLabs/yaml-to-php
TomasVotruba Aug 17, 2020
e2dedc8
Fix rector config path in README.md
grizzlylab Aug 21, 2020
f003cd1
Merge pull request #587 from grizzlylab/master
TomasVotruba Aug 21, 2020
c777caa
fix(phpstan): allow PHPStan to run over Translatable/Translation inte…
Kocal Aug 26, 2020
e438d69
feat: add doctrine/common 3 support, close #590 (#591)
Kocal Aug 26, 2020
2764df7
update dependencies, fix static errors, allow PHP 8.0 (#592)
TomasVotruba Aug 30, 2020
8068b08
Fix typo in translatable doc (#593)
mkrauser Sep 1, 2020
7de0170
Update LoggableTrait.php (#594)
pich Sep 3, 2020
ebe6f58
Changed "Voilá!" to "voilà!" (#595)
Ahzed11 Sep 12, 2020
2fb26d9
Code quality tools update (#600)
TomasVotruba Oct 2, 2020
a6ccea7
Move package-builder to dev dependency (#602)
maxhelias Oct 26, 2020
8a9908f
phpstan fixes (#604)
TomasVotruba Oct 28, 2020
b702c49
feature/fix-bug-with-mapped-superclass (#607)
skrut Nov 9, 2020
ca04090
added .gitattributes with export-ignore tests, docs (#612)
iamvar Feb 25, 2021
9f58676
Fallback to default locale if country locale fallback returns empty r…
ossinkine Mar 8, 2021
a788a8f
Dependency update + move Travis to GitHub Actions (#616)
TomasVotruba Mar 8, 2021
47a98f2
Bump min version to PHP 7.3 (#617)
TomasVotruba Mar 8, 2021
6b0a0be
README: drop badge from travis
TomasVotruba Mar 8, 2021
28e7053
doc(translatable): wrong subscriber name (#626)
soullivaneuh Apr 19, 2021
7b065bc
Make tests, PHPStan and Rector pass again (#627)
TomasVotruba Apr 19, 2021
e5f7214
Remove test dependency on YAML (#628)
TomasVotruba Apr 19, 2021
575776a
[cleanup] Move nested tests to own directory for better overview (#630)
TomasVotruba Apr 30, 2021
888ae84
[cleanup] Move test entities to own namespace (#631)
TomasVotruba Apr 30, 2021
c5f6be7
Allow getCreatedAt and getUpdatedAt to return null (#637)
grizzlylab May 27, 2021
15f53fd
README: update Rector config path (#647)
TomasVotruba Aug 9, 2021
eabc889
imports FQN
TomasVotruba Aug 9, 2021
35ba29c
Bump min PHP version to 8.0 and update deps (#646)
TomasVotruba Aug 9, 2021
e14ddd9
improve PHPStan collections
TomasVotruba Aug 9, 2021
992b023
Handle embeddable as primary key in sluggables (#639)
frankverhoeven Aug 9, 2021
b3e63e0
fix cs
TomasVotruba Aug 9, 2021
0eb2d3f
fix cs
TomasVotruba Aug 9, 2021
dcb5629
make use of doctrine-bundle 2.1 + and EventSubscriberInterface (#649)
TomasVotruba Aug 9, 2021
5329059
Bump Symfony to 5.3 (#650)
TomasVotruba Aug 9, 2021
c8d0112
static generic fixes (#648)
TomasVotruba Aug 9, 2021
6952266
Update .gitattributes file (#651)
ker0x Aug 9, 2021
47a4fa9
remove unused kodiak config
TomasVotruba Aug 9, 2021
399c0bd
Static fixes, upgrade tests to PHP 7.4 and PHP 8.0 syntax (#654)
TomasVotruba Aug 11, 2021
5f1d5ea
fix(deps): remove unnecessary PHP 8 polyfill, close #652 (#653)
Kocal Aug 11, 2021
29cfbe7
Make use of attributes in doctrine/orm 2.9 (#655)
TomasVotruba Aug 11, 2021
16cf561
lock to doctrine/orm 2.9.3
TomasVotruba Aug 11, 2021
1a6b049
Fix cs (#661)
franmomu Sep 11, 2021
946dab4
fix cs (#662)
franmomu Sep 11, 2021
eab8258
Allow Symfony 6, enable ECS turbo (#666)
TomasVotruba Oct 12, 2021
7a3405b
fix isEmpty on zero string value (#664)
toucanbleu Oct 28, 2021
2e1cb37
fix variable name
TomasVotruba Nov 7, 2021
acad39a
Fix phpdoc (#671)
VincentLanglet Nov 21, 2021
a6a4bf3
bump doctrine\dbal to ^3.1 (#670)
eddeh Nov 22, 2021
302ed95
Fix Collection template usages (#675)
franmomu Nov 25, 2021
9311d98
Update PHPStan, Rector and Symplify + complete known type declaration…
TomasVotruba Jan 1, 2022
6c6a0f9
Update LoggableTrait.php (#677)
parijke Jan 1, 2022
b2376c0
fix generateSlugValue method signature (#673)
garak Jan 1, 2022
d2fc226
bump symfony/translation-contracts (#679)
IndraGunawan Jan 1, 2022
435a21d
Update BlameableEventSubscriber.php (#680)
FabienPapet Jan 1, 2022
9ab8106
Bump to doctrine/dbal 3.2 with PHP 8.0 support (#682)
TomasVotruba Jan 1, 2022
9672f61
use ClassMetadataInfo to determine the referencedColumnName (#667)
jorenMartens Jan 1, 2022
c7c2831
[rector] apply PHP 8 upgrade + upgrade phpstan utils to PHPStan 1.3 (…
TomasVotruba Jan 1, 2022
7c70d3a
Update documentation for #285. (#686)
MichaelBrauner Feb 19, 2022
16a059f
Add doctrine join table inheritance compatibility (#688)
MichaelBrauner Feb 19, 2022
46ae629
Translatable documentation update (#687)
Kerrialn Apr 28, 2022
a9bbd61
Bump Rector and PHPStan dependencies, upgrade ECS and Rector to new c…
TomasVotruba Apr 28, 2022
e015b00
bump doctrine/persistence version (#699)
Jun 4, 2022
e0d5386
Bump dependencies, remove deprecated symplify/amnesia, update PHPStan…
TomasVotruba Jun 4, 2022
c998ea6
Fix phpstan behaviors to allow an interface inherited from Translatab…
nicolassing Jun 29, 2022
aa7c160
Allow to install with phpstan-extensions installer (#709)
VincentLanglet Aug 6, 2022
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
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
; top-most EditorConfig file
root = true

; Unix-style newlines
[*]
end_of_line = LF
indent_style = space
indent_size = 4
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* text=auto

/.github export-ignore
/docs export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/CODE_OF_CONDUCT.md export-ignore
/ecs.php export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/rector.php export-ignore
43 changes: 43 additions & 0 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Code Checks

on:
pull_request: null
push:
branches:
- master

jobs:
code_checks:
strategy:
matrix:
actions:
-
name: 'PHPStan'
run: composer phpstan

-
name: 'Coding Standard'
run: composer check-cs

-
name: 'Rector'
run: vendor/bin/rector process --dry-run --ansi

-
name: 'Commented PHP Code'
run: vendor/bin/easy-ci check-commented-code src tests --line-limit 3

name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 8.0
extensions: pdo_sqlite, pdo_mysql, pdo_pgsql
coverage: none

- run: composer install --no-progress

- run: ${{ matrix.actions.run }}
23 changes: 23 additions & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Linter

on:
pull_request: null
push:
branches:
- master

jobs:
linter:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
with:
php-version: 8.0
extensions: pdo_sqlite, pdo_mysql, pdo_pgsql
coverage: none

- run: composer install --no-progress
- run: vendor/bin/parallel-lint src tests -e php,phpt
27 changes: 27 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Code Tests

on:
pull_request: null

jobs:
tests:
strategy:
matrix:
php:
- 8.0

name: Test ${{ matrix.php }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
extensions: pdo_sqlite, pdo_mysql, pdo_pgsql
coverage: none

- run: composer install --no-progress

- run: vendor/bin/phpunit
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
composer.phar
vendor
/vendor
composer.lock
bin
.idea
.phpunit.result.cache

config/secrets/*
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

Loading