-
Notifications
You must be signed in to change notification settings - Fork 2
Skeleton proposition OS #1
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
Open
gewooneendeveloper
wants to merge
2
commits into
master
Choose a base branch
from
skeleton
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .idea | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| language: php | ||
| php: | ||
| - 7.0 | ||
| - 7.1 | ||
| - 7.2 | ||
| - 7.3 | ||
|
|
||
| before_script: | ||
| - composer self-update | ||
| - composer install --prefer-source --no-interaction --dev | ||
|
|
||
| script: phpunit | ||
| notifications: | ||
| on_success: never | ||
| on_failure: always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to `kennisnet/phpECKS` will be documented in this file. | ||
|
|
||
| Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. | ||
|
|
||
| ## NEXT - YYYY-MM-DD | ||
|
|
||
| ### Added | ||
| - Nothing | ||
|
|
||
| ### Deprecated | ||
| - Nothing | ||
|
|
||
| ### Fixed | ||
| - Nothing | ||
|
|
||
| ### Removed | ||
| - Nothing | ||
|
|
||
| ### Security | ||
| - Nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| # Contributor Code of Conduct | ||
|
|
||
| ## Our Pledge | ||
|
|
||
| In the interest of fostering an open and welcoming environment, we as | ||
| contributors and maintainers pledge to make participation in our project and | ||
| our community a harassment-free experience for everyone, regardless of age, body | ||
| size, disability, ethnicity, gender identity and expression, level of experience, | ||
| nationality, personal appearance, race, religion, or sexual identity and | ||
| orientation. | ||
|
|
||
| ## Our Standards | ||
|
|
||
| Examples of behavior that contributes to creating a positive environment | ||
| include: | ||
|
|
||
| * Using welcoming and inclusive language | ||
| * Being respectful of differing viewpoints and experiences | ||
| * Gracefully accepting constructive criticism | ||
| * Focusing on what is best for the community | ||
| * Showing empathy towards other community members | ||
|
|
||
| Examples of unacceptable behavior by participants include: | ||
|
|
||
| * The use of sexualized language or imagery and unwelcome sexual attention or | ||
| advances | ||
| * Trolling, insulting/derogatory comments, and personal or political attacks | ||
| * Public or private harassment | ||
| * Publishing others' private information, such as a physical or electronic | ||
| address, without explicit permission | ||
| * Other conduct which could reasonably be considered inappropriate in a | ||
| professional setting | ||
|
|
||
| ## Our Responsibilities | ||
|
|
||
| Project maintainers are responsible for clarifying the standards of acceptable | ||
| behavior and are expected to take appropriate and fair corrective action in | ||
| response to any instances of unacceptable behavior. | ||
|
|
||
| Project maintainers have the right and responsibility to remove, edit, or | ||
| reject comments, commits, code, wiki edits, issues, and other contributions | ||
| that are not aligned to this Code of Conduct, or to ban temporarily or | ||
| permanently any contributor for other behaviors that they deem inappropriate, | ||
| threatening, offensive, or harmful. | ||
|
|
||
| ## Scope | ||
|
|
||
| This Code of Conduct applies both within project spaces and in public spaces | ||
| when an individual is representing the project or its community. Examples of | ||
| representing a project or community include using an official project e-mail | ||
| address, posting via an official social media account, or acting as an appointed | ||
| representative at an online or offline event. Representation of a project may be | ||
| further defined and clarified by project maintainers. | ||
|
|
||
| ## Enforcement | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
| reported by contacting the project team at `mail@andreaswarnaar.nl`. All | ||
| complaints will be reviewed and investigated and will result in a response that | ||
| is deemed necessary and appropriate to the circumstances. The project team is | ||
| obligated to maintain confidentiality with regard to the reporter of an incident. | ||
| Further details of specific enforcement policies may be posted separately. | ||
|
|
||
| Project maintainers who do not follow or enforce the Code of Conduct in good | ||
| faith may face temporary or permanent repercussions as determined by other | ||
| members of the project's leadership. | ||
|
|
||
| ## Attribution | ||
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
| available at [http://contributor-covenant.org/version/1/4][version] | ||
|
|
||
| [homepage]: http://contributor-covenant.org | ||
| [version]: http://contributor-covenant.org/version/1/4/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| Note | ||
| ==== | ||
| This file contains information about people who are permitted to make | ||
| changes to various parts of the code and associated libraries. | ||
|
|
||
| Please do not contact the people in this file directly to report | ||
| problems in github.com/kennisnet/phpECKS | ||
|
|
||
| Maintainers | ||
| =========== | ||
|
|
||
| Global Reviewers | ||
| Andreas Warnaar <mail@andreaswarnaar.nl> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Contributing | ||
|
|
||
| Contributions are **welcome** and will be fully **credited**. | ||
|
|
||
| We accept contributions via Pull Requests on [Github](https://github.com/kennisnet/phpECKS). | ||
|
|
||
|
|
||
| ## Pull Requests | ||
|
|
||
| - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - Check the code style with ``$ composer check-style`` and fix it with ``$ composer fix-style``. | ||
|
|
||
| - **Add tests!** - Your patch won't be accepted if it doesn't have tests. | ||
|
|
||
| - **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. | ||
|
|
||
| - **Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option. | ||
|
|
||
| - **Create feature branches** - Don't ask us to pull from your master branch. | ||
|
|
||
| - **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. | ||
|
|
||
| - **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. | ||
|
|
||
|
|
||
| ## Running Tests | ||
|
|
||
| ``` bash | ||
| $ composer test | ||
| ``` | ||
|
|
||
|
|
||
| **Happy coding**! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <!-- Provide a general summary of the issue in the Title above --> | ||
|
|
||
| ## Detailed description | ||
|
|
||
| Provide a detailed description of the change or addition you are proposing. | ||
|
|
||
| Make it clear if the issue is a bug, an enhancement or just a question. | ||
|
|
||
| ## Context | ||
|
|
||
| Why is this change important to you? How would you use it? | ||
|
|
||
| How can it benefit other users? | ||
|
|
||
| ## Possible implementation | ||
|
|
||
| Not obligatory, but suggest an idea for implementing addition or change. | ||
|
|
||
| ## Your environment | ||
|
|
||
| Include as many relevant details about the environment you experienced the bug in and how to reproduce it. | ||
|
|
||
| * Version used (e.g. PHP 7.0.33): | ||
| * Operating system and version (e.g. Ubuntu 16.04, Windows 7): | ||
| * Link to your project: | ||
| * ... | ||
| * ... |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <!--- Provide a general summary of your changes in the Title above --> | ||
|
|
||
| ## Description | ||
|
|
||
| Describe your changes in detail. | ||
|
|
||
| ## Motivation and context | ||
|
|
||
| Why is this change required? What problem does it solve? | ||
|
|
||
| If it fixes an open issue, please link to the issue here (if you write `fixes #num` | ||
| or `closes #num`, the issue will be automatically closed when the pull is accepted.) | ||
|
|
||
| ## How has this been tested? | ||
|
|
||
| Please describe in detail how you tested your changes. | ||
|
|
||
| Include details of your testing environment, and the tests you ran to | ||
| see how your change affects other areas of the code, etc. | ||
|
|
||
| ## Screenshots (if appropriate) | ||
|
|
||
| ## Types of changes | ||
|
|
||
| What types of changes does your code introduce? Put an `x` in all the boxes that apply: | ||
| - [ ] Bug fix (non-breaking change which fixes an issue) | ||
| - [ ] New feature (non-breaking change which adds functionality) | ||
| - [ ] Breaking change (fix or feature that would cause existing functionality to change) | ||
|
|
||
| ## Checklist: | ||
|
|
||
| Go over all the following points, and put an `x` in all the boxes that apply. | ||
|
|
||
| Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our [continuous integration](http://www.phptherightway.com/#continuous-integration) server to make sure your [tests and code style pass](https://help.github.com/articles/about-required-status-checks/). | ||
|
|
||
| - [ ] I have read the **[CONTRIBUTING](CONTRIBUTING.md)** document. | ||
| - [ ] My pull request addresses exactly one patch/feature. | ||
| - [ ] I have created a branch for this patch/feature. | ||
| - [ ] Each individual commit in the pull request is meaningful. | ||
| - [ ] I have added tests to cover my changes. | ||
| - [ ] If my change requires a change to the documentation, I have updated it accordingly. | ||
|
|
||
| If you're unsure about any of these, don't hesitate to ask. We're here to help! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # kennisnet/phpECKS | ||
|
|
||
| [![Latest Version on Packagist][ico-version]][link-packagist] | ||
| [![Software License][ico-license]](LICENSE.md) | ||
| [![Build Status][ico-travis]][link-travis] | ||
| [![Coverage Status][ico-scrutinizer]][link-scrutinizer] | ||
| [![Quality Score][ico-code-quality]][link-code-quality] | ||
| [![Total Downloads][ico-downloads]][link-downloads] | ||
|
|
||
| ## Install | ||
|
|
||
| Via Composer | ||
|
|
||
| ``` bash | ||
| $ composer require kennisnet/phpECKS | ||
| ``` | ||
|
|
||
| ## Usage | ||
|
|
||
| ``` php | ||
| $skeleton = new kennisnet\phpECKS(); | ||
| echo $skeleton->echoPhrase('Hello, phpECKS!'); | ||
| ``` | ||
|
|
||
| ## Change log | ||
|
|
||
| Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. | ||
|
|
||
| ## Testing | ||
|
|
||
| ``` bash | ||
| $ composer test | ||
| ``` | ||
|
|
||
| ## Contributing | ||
|
|
||
| Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details. | ||
|
|
||
| ## Security | ||
|
|
||
| If you discover any security related issues, please email mail@andreaswarnaar.nl instead of using the issue tracker. | ||
|
|
||
| ## Credits | ||
|
|
||
| - [Kennisnet][link-author] | ||
| - [All Contributors][link-contributors] | ||
|
|
||
| ## License | ||
|
|
||
| The MIT License (MIT). Please see [License File](LICENSE.md) for more information. | ||
|
|
||
| [ico-version]: https://img.shields.io/packagist/v/kennisnet/kennisnet/phpECKS.svg?style=flat-square | ||
| [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square | ||
| [ico-travis]: https://img.shields.io/travis/kennisnet/kennisnet/phpECKS/master.svg?style=flat-square | ||
| [ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/kennisnet/kennisnet/phpECKS.svg?style=flat-square | ||
| [ico-code-quality]: https://img.shields.io/scrutinizer/g/kennisnet/kennisnet/phpECKS.svg?style=flat-square | ||
| [ico-downloads]: https://img.shields.io/packagist/dt/kennisnet/kennisnet/phpECKS.svg?style=flat-square | ||
|
|
||
| [link-packagist]: https://packagist.org/packages/kennisnet/kennisnet/phpECKS | ||
| [link-travis]: https://travis-ci.org/kennisnet/kennisnet/phpECKS | ||
| [link-scrutinizer]: https://scrutinizer-ci.com/g/kennisnet/kennisnet/phpECKS/code-structure | ||
| [link-code-quality]: https://scrutinizer-ci.com/g/kennisnet/kennisnet/phpECKS | ||
| [link-downloads]: https://packagist.org/packages/kennisnet/kennisnet/phpECKS | ||
| [link-author]: https://github.com/kennisnet | ||
| [link-contributors]: CONTRIBUTERS.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| { | ||
| "name": "kennisnet/phpECKS", | ||
| "type": "library", | ||
| "description": "Normalizer and serializer for the ECK document format", | ||
| "keywords": [ | ||
| "kennisnet", | ||
| "kennisnet/phpECKS", | ||
| "ECK", | ||
| "Catalogus" | ||
| ], | ||
| "homepage": "https://github.com/kennisnet/phpECKS", | ||
| "license": "MIT", | ||
| "authors": [ | ||
| { | ||
| "name": "Kennisnet", | ||
| "email": "mail@andreaswarnaar.nl", | ||
| "homepage": "https://github.com/kennisnet", | ||
| "role": "Developer" | ||
| } | ||
| ], | ||
| "require": { | ||
| "php" : "~7.1" | ||
| }, | ||
| "require-dev": { | ||
| "phpunit/phpunit" : ">=7.0", | ||
| "squizlabs/php_codesniffer": "^3.0" | ||
| }, | ||
| "autoload": { | ||
| "psr-4": { | ||
| "kennisnet\\phpECKS\\": "src" | ||
| } | ||
| }, | ||
| "autoload-dev": { | ||
| "psr-4": { | ||
| "kennisnet\\phpECKS\\": "tests" | ||
| } | ||
| }, | ||
| "scripts": { | ||
| "test": "phpunit", | ||
| "check-style": "phpcs src tests", | ||
| "fix-style": "phpcbf src tests" | ||
| }, | ||
| "extra": { | ||
| "branch-alias": { | ||
| "dev-master": "1.0-dev" | ||
| } | ||
| }, | ||
| "config": { | ||
| "sort-packages": true | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?xml version="1.0"?> | ||
| <ruleset name="kennisnet/phpECKS"> | ||
| <description>The coding standard of kennisnet/phpECKS package</description> | ||
| <arg value="p" /> | ||
|
|
||
| <config name="ignore_warnings_on_exit" value="1" /> | ||
| <config name="ignore_errors_on_exit" value="1" /> | ||
|
|
||
| <arg name="colors" /> | ||
| <arg value="s" /> | ||
|
|
||
| <!-- Use the PSR2 Standard--> | ||
| <rule ref="PSR2" /> | ||
| </ruleset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <phpunit bootstrap="vendor/autoload.php" | ||
| backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| colors="true" | ||
| verbose="true" | ||
| convertErrorsToExceptions="true" | ||
| convertNoticesToExceptions="true" | ||
| convertWarningsToExceptions="true" | ||
| processIsolation="false" | ||
| stopOnFailure="false"> | ||
| <testsuites> | ||
| <testsuite name="kennisnet Test Suite"> | ||
| <directory>tests</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| <filter> | ||
| <whitelist> | ||
| <directory suffix=".php">src/</directory> | ||
| </whitelist> | ||
| </filter> | ||
| <logging> | ||
| <log type="junit" target="build/report.junit.xml"/> | ||
| <log type="coverage-html" target="build/coverage"/> | ||
| <log type="coverage-text" target="build/coverage.txt"/> | ||
| <log type="coverage-clover" target="build/logs/clover.xml"/> | ||
| </logging> | ||
| </phpunit> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ook 'vendor' en 'node_modules' toevoegen?