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

upgrade all dependencies to work with php81 #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# PHP CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-php/ for more details
#
version: 2.1

commands:
build:
steps:
- checkout
- run: sudo apt update
- run:
name: Composer Install
command: |
composer install -n --prefer-dist --no-scripts
- run:
name: Run Tests
command: |
./vendor/bin/phpunit

jobs:
php81:
docker:
- image: cimg/php:8.1
resource_class: small
steps:
- build

workflows:
version: 2
eloquent-model-validation:
jobs:
- php81
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/vendor
composer.lock
tags
build
.phpunit.result.cache
.idea/
.phpunit.cache/
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

14 changes: 6 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"illuminate/support": "^8.0",
"illuminate/database": "^8.40",
"illuminate/validation": "^8.0"
"php": "^8.1",
"illuminate/support": "^9",
"illuminate/database": "^9",
"illuminate/validation": "^9"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
"mockery/mockery": "^1.4.1",
"squizlabs/php_codesniffer": "^3.1",
"php-coveralls/php-coveralls": "^2.4"
"phpunit/phpunit": "^10.5.20",
"mockery/mockery": "^1.4.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading