mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 07:14:59 -04:00
Continue improving type hints
This commit is contained in:
parent
eb376c87bd
commit
703e1a7a03
73 changed files with 98 additions and 114 deletions
|
@ -7,12 +7,6 @@ parameters:
|
|||
ignoreErrors:
|
||||
# Ignore errors caused by Template static class reflection
|
||||
- '#Call to an undefined static method Template::[a-zA-Z0-9\\_]+\(\)\.#'
|
||||
|
||||
# Ignore errors caused by no type hints on class properties, as that's not available till PHP 7.4
|
||||
- '#Property .+? has no type specified.#'
|
||||
|
||||
# Ignore setters for properties that accept several types
|
||||
- '#Property Artwork::\$Tags \(array<ArtworkTag>\) does not accept.+#'
|
||||
level:
|
||||
8
|
||||
paths:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CREATE TABLE `PollVotes` (
|
||||
`UserId` int(10) unsigned NOT NULL,
|
||||
`PollItemId` int(10) unsigned NOT NULL,
|
||||
`Created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
`Created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
UNIQUE KEY `idxUnique` (`PollItemId`,`UserId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue