Skip to content

Commit

Permalink
Merge pull request #1 from niden/master
Browse files Browse the repository at this point in the history
Initial functionality
  • Loading branch information
niden authored Jun 3, 2022
2 parents be48941 + 03e632a commit ab9f033
Show file tree
Hide file tree
Showing 88 changed files with 10,077 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/cache/
/config/development/
/vendor
Empty file added CHANGELOG.md
Empty file.
25 changes: 25 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contributor Covenant Code of Conduct

## TL;DR

Common sense rules. Treat people the same way you want to be treated.

## Detail

This is an open source project. Everyone and anyone is welcome to contribute
to it as much or as little as they want to.

Personal views of contributors have no effect on the project and should be
kept in the personal realm not this project.

It is a requirement to treat other contributors as well as maintainers with
respect, when communicating in the realm of this project. It is OK to agree to
disagree.

## Conflict

If ever conflict arises, please bring it to the attention of the maintainers
privately. You can always find us on our [Discord](https://phalcon.io/discord)
server or you can send us an email at [[email protected]](mailto:[email protected])

The core team maintains the final decision on any conflict that may arise.
24 changes: 24 additions & 0 deletions CODE_OWNERS.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This file is a list of the people responsible for ensuring that patches for a
particular part of Phalcon are reviewed, either by themselves or by someone
else. They are also the gatekeepers for their part of Phalcon, with the final
word on what goes in or not.

The list is sorted by last name and formatted to allow easy grepping and
beautification by scripts. The fields are: name (N), email (E), web-address
(W), PGP key ID and fingerprint (P), description (D), and snail-mail address
(S).

The sample of querying command to search PECL keyword:
awk -v RS='' -v ORS='\n\n' '/\nD: .*PECL/' CODE_OWNERS.TXT

N: Anton Vasiliev
E: [email protected]
W:
P:
D: Maintenance and design

N: Nikolaos Dimopoulos
E: [email protected]
W: https://niden.net
P: 0x93F8CA07B9C8C41D
D: Maintenance and design
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing to PSR Proxy

WIP

Phalcon Team
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# psr-proxy
# proxy-psr3
Package to offer PSR compatibility with Phalcon classes from the PHP userland
Empty file added bin/.gitkeep
Empty file.
36 changes: 36 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
actor_suffix: Tester

paths:
# where the modules stored
tests: tests
log: tests/_output
# directory for fixture data
data: tests/_data
# directory for custom modules (helpers)
support: tests/_support
envs: tests/_envs

settings:
colors: true
# Tests (especially functional) can take a lot of memory
# We set a high limit for them by default.
memory_limit: 1024M
lint: true

# name of bootstrap that will be used
# each bootstrap file should be
# inside a suite directory.
bootstrap: _bootstrap.php

coverage:
enabled: true
include:
- src/*

extensions:
enabled:
- Codeception\Extension\RunFailed

params:
# get params from environment vars
#- .env
39 changes: 39 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "phalcon/proxy-psr3",
"description": "Phalcon Framework proxy classes for PSR-3",
"keywords": [
"php",
"framework",
"phalcon",
"psr-3"
],
"license": "MIT",
"require": {
"php": ">=7.4 <9.0",
"psr/log": "^1.1"
},
"autoload": {
"psr-4": {
"Phalcon\\Logger\\": "fake/Logger/",
"Phalcon\\Traits\\": "fake/Traits/",
"Phalcon\\Proxy\\Psr3\\": "src/",
"Phalcon\\Proxy\\Psr3\\Tests\\Fixtures\\": "tests/_data/fixtures/",
"Phalcon\\Proxy\\Psr3\\Tests\\Unit\\": "tests/unit/"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"require-dev": {
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^2.0",
"codeception/module-filesystem": "^2.0",
"friendsofphp/php-cs-fixer": "^3.7",
"pds/skeleton": "^1.0",
"phpstan/phpstan": "^1.4",
"squizlabs/php_codesniffer": "^3.6",
"vimeo/psalm": "^4.22"
}
}
Loading

0 comments on commit ab9f033

Please sign in to comment.