Skip to content

Commit

Permalink
Use namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Aug 10, 2015
1 parent e8b8fd1 commit ae880b9
Show file tree
Hide file tree
Showing 7 changed files with 1,105 additions and 7 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
end_of_line = LF
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_style = space
indent_size = 4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ $ composer require frozzare/personnummer
## Example

```php
\Personnummer::valid(6403273813);
\Frozzare\Personnummer\Personnummer::valid(6403273813);
//=> true

\Personnummer::valid('19130401+2931');
\Frozzare\Personnummer\Personnummer::valid('19130401+2931');
//=> true
```

Expand Down
16 changes: 12 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,23 @@
"identify"
],
"support": {
"issues": "https://github.com/frozzare/php-is-personnummer/issues"
"issues": "https://github.com/frozzare/php-personnummer/issues"
},
"require": {
"php": ">=5.3.0",
"composer/installers": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"autoload": {
"files": [
"src/Personnummer.php"
]
"psr-4": {
"Frozzare\\Personnummer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Frozzare\\Tests\\Personnummer\\": "tests/"
}
}
}
Loading

0 comments on commit ae880b9

Please sign in to comment.