Skip to content

Commit

Permalink
Merge pull request #4 from alex-patterson-webdev/feature/1.0.0
Browse files Browse the repository at this point in the history
Feature/1.0.0
  • Loading branch information
alex-patterson-webdev authored Jul 6, 2020
2 parents 1199678 + 2fabcd4 commit dfb5007
Show file tree
Hide file tree
Showing 16 changed files with 3,865 additions and 1,300 deletions.
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
38 changes: 38 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
build:
environment:
php: 7.4.6
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
checks:
php:
simplify_boolean_return: true
properties_in_camelcaps: true
phpunit_assertions: true
return_doc_comment_if_not_inferrable: true
return_doc_comments: true
parameter_doc_comments: true
parameters_in_camelcaps: true
param_doc_comment_if_not_inferrable: true
fix_line_ending: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
overriding_parameter: false

coding_style:
php:
spaces:
general:
linefeed_character: return-newline
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
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[![Build Status](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/badges/build.png?b=master)](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/build-status/master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/?branch=master)
[![codecov](https://codecov.io/gh/alex-patterson-webdev/laminas-factory/branch/master/graph/badge.svg)](https://codecov.io/gh/alex-patterson-webdev/laminas-factory)

# Arp\LaminasFactory

## About

Configuration based factory components for use with the Laminas Framework.

## Installation

Installation via [composer](https://getcomposer.org).

require alex-patterson-webdev/laminas-factory ^1
[![Build Status](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/badges/build.png?b=master)](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/build-status/master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/alex-patterson-webdev/laminas-factory/?branch=master)
[![codecov](https://codecov.io/gh/alex-patterson-webdev/laminas-factory/branch/master/graph/badge.svg)](https://codecov.io/gh/alex-patterson-webdev/laminas-factory)

# Arp\LaminasFactory

## About

The Laminas Framework provides the ability to inject class dependencies into services via 'service factories', these are classes that implement
the interface `Laminas\ServiceManager\Factory\FactoryInterface`. This module provides components to aid with the creation of the service factories
by allowing developers to easily fetch service specific configuration options from within the factory.

## Installation

Installation via [composer](https://getcomposer.org).

require alex-patterson-webdev/laminas-factory ^1

10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.2",
"laminas/laminas-servicemanager": "^3.3"
"php": ">=7.4",
"laminas/laminas-servicemanager": "^3.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit" : "^8"
"phpunit/phpunit": "^9.1",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd" : "@stable",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit dfb5007

Please sign in to comment.