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

Refactored project to use PHP 7.4 as minimum requirement and fix inco… #3

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cf9f5c7
Refactored project to use PHP 7.4 as minimum requirement and fix inco…
alex-patterson-webdev Aug 15, 2020
8564de1
Resolve merge conflicts with upstream branch master
alex-patterson-webdev Aug 15, 2020
55f5753
Updated project configurations, .gitignore, .travis.yml, composer.jso…
alex-patterson-webdev Sep 6, 2020
a00c6ae
Remove LICENSE and replaced with MIT LICENSE.md. Additional settings…
alex-patterson-webdev Sep 6, 2020
02f7a3f
Removed uneeded constant
alex-patterson-webdev Sep 6, 2020
2583ca8
Fixed container implementation and test cases
alex-patterson-webdev Sep 6, 2020
cd51192
Added new InvaliArgumentException class that extends the default Cont…
alex-patterson-webdev Sep 6, 2020
34a4c79
Updated and fixed test cases for ContainerFactory
alex-patterson-webdev Sep 6, 2020
b469556
Removed return types for AliasAwareInterface and added new exception …
alex-patterson-webdev Sep 6, 2020
c1bb1cc
Updated return types for adapter interfaces and fixed existing Abstra…
alex-patterson-webdev Sep 6, 2020
824bd84
Fixed test case issues with ConfigServiceProvider
alex-patterson-webdev Sep 6, 2020
3828bf9
Updated arp/factory version constraint to ^1 in composer.json
alex-patterson-webdev Sep 6, 2020
932b749
Updated README with documentation
alex-patterson-webdev Sep 12, 2020
aab1735
Added spaces
alex-patterson-webdev Sep 12, 2020
36244b8
More spaces
alex-patterson-webdev Sep 12, 2020
e1377b3
Added section regarding array service provider
alex-patterson-webdev Sep 12, 2020
4b7c86e
Fixed issues in test of setService() exceptions
alex-patterson-webdev Sep 12, 2020
4a82501
Added coverage for ConfigServiceProvider
alex-patterson-webdev Sep 12, 2020
4b0c701
Removed 'bridge' from name (renamed AbstractPsrBridgeAdapter to Abstr…
alex-patterson-webdev Sep 13, 2020
4b1952a
Added scrutinizer badge to README.md
alex-patterson-webdev Sep 13, 2020
4970978
Refactor the exception message and handling in ConfigServiceProvider
alex-patterson-webdev Sep 13, 2020
cb08947
Added test coverage for ConfigServiceProvider
alex-patterson-webdev Sep 13, 2020
765f2af
Corrected test cases with correct mock
alex-patterson-webdev Sep 13, 2020
fa8e1fd
Add new test coverage for string based factories passed to ConfigServ…
alex-patterson-webdev Sep 13, 2020
f1f43b6
Completed test case coverage of the ConfigServiceProvider
alex-patterson-webdev Sep 13, 2020
441fa4b
Formatted XML of phpunit.xml
alex-patterson-webdev Sep 13, 2020
1d730c5
Remove references to ServiceFactoryInterface and updated composer
alex-patterson-webdev Sep 25, 2020
717e67c
Renamed test case class name and added new inspection comments after …
alex-patterson-webdev Sep 25, 2020
0534d59
Add new return type to setters of each ContainerAdapterInterface
alex-patterson-webdev Sep 26, 2020
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
50 changes: 50 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.deployignore text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.editorconfig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.env.* text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.eslintignore text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.eslintrc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.gitattributes text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.gitignore text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
.htaccess text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
yarn.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4

*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.csv text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.feature text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4 diff=html
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4 diff=php
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.scss text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4 diff=php
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.xsd text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4

# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
*.gif -text diff
*.gz -text diff
*.ico -text diff
*.jpeg -text diff
*.jpg -text diff
*.png -text diff
*.phar -text diff
*.pdf -text diff
*.exe -text diff
*.svgz -text diff
*.eot -text diff
*.ttf -text diff
*.woff -text diff
*.woff2 -text diff
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.idea/
vendor/
composer.phar
.phpunit.result.cache
coverage.xml
.idea/
vendor/
composer.phar
.phpunit.result.cache
.php_cs.cache
coverage.xml
clover.xml

27 changes: 27 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
build:
nodes:
php74:
environment:
php: 7.4
analysis:
environment:
php: 7.4
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: phpcs-run
checks:
php: true
coding_style:
php:
spaces:
general:
linefeed_character: return-newline
before_parentheses:
closure_definition: true
filter:
dependency_paths:
- "vendor/"
38 changes: 18 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
language: php

php:
- 7.2
- 7.3
- 7.4

install:
- travis_retry composer install --no-interaction --no-suggest

script:
- composer test

after_success:
- bash <(curl -s https://codecov.io/bash)

branches:
only:
- master
- dev
language: php

php:
- 7.4

install:
- travis_retry composer install --no-interaction --no-suggest

script:
- composer test

after_success:
- bash <(curl -s https://codecov.io/bash)

branches:
only:
- master
- dev
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2020 Alex Patterson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading