Skip to content

Commit

Permalink
Added project ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
DeGraciaMathieu committed Jun 24, 2024
1 parent 5446a5f commit f6e92bf
Show file tree
Hide file tree
Showing 14 changed files with 9,305 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: testing

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
php: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v4

- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Install composer dependencies
run: composer update --quiet --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist

- name: PHPUnit
run: vendor/bin/phpunit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":{"Tests\\Unit\\RapidBindTest::it_should_create_singleton_with_Bind_attribute":5,"Tests\\Unit\\RapidBindTest::it_should_not_create_singleton_without_Bind_attribute":8},"times":{"Tests\\Unit\\RapidBindTest::it_should_create_singleton_with_Bind_attribute":0.036,"Tests\\Unit\\RapidBindTest::it_should_not_create_singleton_without_Bind_attribute":0.001}}
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "degraciamathieu/laravel-rapid-bind",
"type": "library",
"require": {
"php": "^8.1",
"composer/class-map-generator": "^1.3",
"illuminate/contracts": "10.*|11.*",
"illuminate/support": "10.*|11.*"
},
"require-dev": {
"orchestra/testbench": "9.1.*",
"phpunit/phpunit": "11.1.*"
},
"autoload": {
"psr-4": {
"DeGraciaMathieu\\RapidBind\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
}
}
Loading

0 comments on commit f6e92bf

Please sign in to comment.